package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.CheckItem;

import java.util.List;

/**
 * @author zhangmeng
 * @description 检查项Service
 * @date 2019/9/16
 **/

public interface CheckGroupService {


    void add(CheckGroup checkGroup);


    void addCheckitemAndCheckgroupWithId(Integer checkGroupId, Integer checkitemId);

    PageResult queryPage(QueryPageBean queryPageBean);



    CheckGroup findByid(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    void updateEdit(CheckGroup checkGroup);

    void deleteById(Integer checkGroupId);


    void deleteCheckGroupitemById(Integer id);

    List<CheckGroup> findAll();

}
